package com.decoration.basic.mapper;

import com.decoration.basic.entity.DecUserBase;
import com.decoration.basic.entity.DecorationCtctionRelation;

import java.util.List;
import java.util.Map;

public interface DecCtcRelMapper {

    int delete(String id);

    int deleteCtcRel(String ctcid);

    int deleteCtc(String userid,String ctcid);

    List<DecUserBase> searchCtcRelByIdAndType(Map<String,Object> map);

    int update(DecorationCtctionRelation category);

    int add(DecorationCtctionRelation category);

    int addCtcReal(DecorationCtctionRelation category);

    List<DecUserBase> findCtcRelById(String ctcid);

    int deleteCtcRelById(String ctcId);
}
